package com.jiaozi.core.security.pojo.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(name = "登录请求")
@Data
public class LoginParam {
    @Schema(description = "用户名",defaultValue = "admin")
    @NotEmpty(message = "登录账号不能为空")
    private String userName;
    @Schema(description = "密码",defaultValue = "123456")
    @NotEmpty(message = "登录密码不能为空")
    private String password;
}
